Skip to content

CKAN 2.10 Temp Fixes#86

Draft
nickumia-reisys wants to merge 2860 commits into
masterfrom
ckan-210-temp
Draft

CKAN 2.10 Temp Fixes#86
nickumia-reisys wants to merge 2860 commits into
masterfrom
ckan-210-temp

Conversation

@nickumia-reisys
Copy link
Copy Markdown

@nickumia-reisys nickumia-reisys commented May 22, 2023

Related to

Notes:

  • Track fixes until we can go back on upstream (ideally 2.10.1).
  • We can't reference the fix for license_list because it has other issues with TypeError: 'type' object is not subscriptable
    Traceback (most recent call last):
      File "/usr/bin/ckan", line 5, in <module>
        from ckan.cli.cli import ckan
      File "/usr/lib/python3.10/site-packages/ckan/cli/cli.py", line 12, in <module>
        import ckan.plugins as p
      File "/usr/lib/python3.10/site-packages/ckan/plugins/__init__.py", line 3, in <module>
        from ckan.plugins.core import *  # noqa: re-export
      File "/usr/lib/python3.10/site-packages/ckan/plugins/core.py", line 21, in <module>
        import ckan.plugins.interfaces as interfaces
      File "/usr/lib/python3.10/site-packages/ckan/plugins/interfaces.py", line 17, in <module>
        from ckan.model.user import User
      File "/usr/lib/python3.10/site-packages/ckan/model/__init__.py", line 31, in <module>
        from ckan.model.package import (
      File "/usr/lib/python3.10/site-packages/ckan/model/package.py", line 20, in <module>
        from ckan.common import config
      File "/usr/lib/python3.10/site-packages/ckan/common.py", line 150, in <module>
        class CKANRequest(LocalProxy[Request]):
    TypeError: 'type' object is not subscriptable
  • We can also use this fork for the moment.js fix (Invicti Scan April of 2023: Out-of-date Moment.js data.gov#4311)

avdata99 and others added 30 commits September 29, 2022 15:58
Co-authored-by: Ian Ward <ian@excess.org>
…th-the-UK-Open-Government-License-does-not-work

[7102]Hyperlink with the UK Open Government License does not work
Fix CKAN registering only plugin's first blueprint
…tion

Modified the default `sort_key` callable for `group_list_dictize` to …
…hans` to always return a str list. Changed the `indexed_package_ids` to a pagination loop at a 1000 iteration. Used `click.echo` instead of `pprint`. Added another output message on how many orphaned packages were found. Added changelog file.
…emove-orphans

Added `list-orphans` and `clear-orphans` sub-commands to the `search-…
…_from_group_view

Remove dataset count from group view defaults
amercader and others added 27 commits February 14, 2023 10:58
Tested on Ubuntu 22.04
Add step about writable directory, as CKAN needs it regardless of file
uploads (to create webassets, etc)
Co-authored-by: Adrià Mercader <amercadero@gmail.com>
Co-authored-by: Adrià Mercader <amercadero@gmail.com>
fix the failing sphinx builds
To be used with the new version of the Transifex client:

https://github.com/transifex/cli

Obtained running the `tx migrate` command (and manually adding the
existing comments)
…ME_LIMIT

[ckan#7383] Add type to WTF_CSRF_TIME_LIMIT (2.10 backport)
@nickumia-reisys nickumia-reisys changed the title CKAN 2.10 Fixes CKAN 2.10 Temp Fixes May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.